//diag_log format["Setting up fnc_setup_match"];
//fnc_setup_match = {
	waitUntil { !(isNil "positions") };
	currentPosition = floor(random(count positions));

	_position = (((positions select currentPosition) select 0) call BIS_fnc_selectRandom);	
	bomb = createVehicle ["RUBasicAmmunitionBox", [0,0,0], [], 0, "NONE"];  
	bomb setPos _position;
	bomb allowDamage false;

	eastSpawn = ((positions select currentPosition) select 1);
	westSpawn = (((positions select currentPosition) select 2) call BIS_fnc_selectRandom);

	publicVariable "bomb";
	publicVariable "eastSpawn";
	publicVariable "westSpawn";
	publicVariable "currentPosition"; 
//};